<div class='container write-post-container'>
    <div class="row">
        <div class="col-md-12">
            <form role="form">
                <div class="form-group">
                    <input type="text" class='form-control' placeholder='标题，2-32个字'>
                </div>
                <div class="form-group">
                    <ckeditor [(ngModel)]="content" [editor]='Editor' name='content' (ready)='onReady($event)'></ckeditor>
                </div>
                <button class="btn btn-primary" type='button' (click)="doAddPost()">提交</button>
            </form>
        </div>
    </div>
</div>
